Skip to Content

AI for electricity distribution

Energy house-keeping

Mar 4, 2021 | RAINER KLOSE

Energy management in a house with a solar system is becoming increasingly complex: When do I turn on the heating so that it is nice and cosy in the evening? How much electricity can the hot water tank hold? Will there still be enough energy for the electric car? Artificial Intelligence (AI) can help solve the problem: Researchers at Empa developed an AI control system that can learn all these tasks – and save more than 25 percent energy in the process.

/documents/56164/15698147/EQ70+Batterie+stopper.jpg/dadeb538-91da-43c3-9c02-7125602b110e?t=1610126535857
What is more important: a warm living room or a fully charged electric car? A smart house can manage both. Image: istock

How simple it used to be: In the spring, when oil prices took a dip, one just filled the basement tanks, and all trouble was gone. There was gasoline at every corner. All around the clock. Fill up, drive on, that was it.

With the phase-out of the fossil economy life became much harder for smart spenders. Now energy prices no longer change annually, but hourly. Solar power is in abundance at lunchtime – in the evening the low sun hardly supplies any energy, while returning commuters are causing the demand for electricity to rise rapidly. The effect can be seen so clearly on consumption graphs that scientists have given it a name: the "duck curve". When the duck raises its head, it is getting expensive for everyone to buy electricity.

Eyeing the clock when drawing energy will thus be important for electric car drivers and homeowners. In future, those who want to use the available renewable energy in a cheap and at the same time environmentally friendly way will no longer be able to rely on permanently installed thermostats and manually operated buttons.

A multifaceted problem

Bratislav Svetozarevic, a researcher at Empa's Urban Energy Systems lab, has recognized this problem. What is needed is an automatic control system that hoards energy when it's abundant and makes it available for expensive times of the day. The battery of one's car, for instance, which is attached to the charging station in the garage, could serve as a storage device. But Svetozarevic has to deal with a complex problem: Every house is different, and so are its inhabitants. Depending on both weather and season, the power generated by the solar cells changes, as does the need for heating or cooling. An optimized energy control must therefore learn the daily rhythm of a house and its inhabitants – and should also be able to react flexibly during operation, for example when a sudden weather change upsets all calculations.

/documents/56164/15698147/eq70+Batterie+Grafik+EN/cb96a649-ab55-491c-96fc-67e298c2476a?t=1611659197103
Empa's AI control system distributes electricity from solar collectors in an optimized way. It does not need to be programmed, but uses AI to "learn" the needs of the occupants and adapt to the time of day and season. It can be used for buildings of various types and sizes. When distributing energy, the occupants' thermal comfort is the top priority. The battery of the electric car is used as intermediate storage and and must provide enough range in the morning for the first trip of the day. Grid electricity is purchased when it is cheapest.
Step one: the theory

The solution to such problems is AI. The Empa researcher designed an AI control system based on the principle of reinforcement learning. When the system acts "correctly", it receives a "reward". Gradually the control system perfects its behavior in this way.

Initially, the control system was only simulated on the computer. The specifications: A certain room in a building had to be electrically heated to the desired temperature and maintain this temperature. At the same time, the system had to supply power to an electric car, which had to be at least 60 percent charged by 7 AM in the morning and be ready to go. In the evening at 5 PM, the electric car returns to the charging station with some residual charge and can supply electricity back to the house during the night. The control system was fed with weather data as well as room temperature data from last year and had to cope with two electricity tariffs: expensive electricity during the day between 8 AM and 8 PM, and cheap electricity during the night.

The result was amazing: The self-learning control system saved around 16 percent energy compared to a fixed-programmed solution and, in the theoretical test, also maintained the desired room temperature much more accurately.

Step two: test in a real building
/documents/56164/15698147/EQ70+Batterie+para.jpg/dd624ec2-7509-4736-8168-1965d8bdd748?t=1610126535507
In 2019, DFAB House was opened at Empa. Now one of the rooms serves as a research object. Image: Roman Keller

Now the controller had to pass the reality check. Svetozarevic used the NEST research building on the Empa campus for this purpose. In the DFAB House unit, the AI algorithm controlled the temperature of a student bedroom for a week. At the same time, the 100 kWh-sized storage battery was used to simulate the battery of an electric car. This time, the result was even clearer: During a chilly week in February 2020, the AI control system saved 27 percent of heating energy compared to the neighboring student bedroom, whose heating was operated with a fixed-program (rule-based) control system.

"The nice thing about our self-learning AI control system is that it can be used not only at NEST, but also in any other building", says Bratislav Svetozarevic. "It doesn't need an engineer to program the control system, nor someone to analyze the house beforehand and calculate a tailor-made solution."

Even complex building services can be managed
/documents/56164/15698147/EQ+70+Batterie+para.jpg/f9493f6f-8f1b-47b5-8118-1ae6b294aa24?t=1610126535160
President of the Swiss Confederation Guy Parmelin opened the DFAB House in 2019. Image: Nicholas Zonvi

In a next step, Svetozarevic and his colleagues now want to determine how the system can be extended from one room to larger buildings. "In our first experiment we wanted to map a typical household of the future," says the Empa researcher. For the sake of simplicity, the team has limited itself to heating and vehicle charging. But the work is laying the foundation for much more: "Our AI control system can still cope when a photovoltaic system supplies electricity, a heat pump and a local hot water storage tank have to be operated – and the comfort requirements of the residents are constantly changing."

However, a new generation of electric cars is required to be able to use the AI system for optimal energy supply in the future. Today's standard models in Europe and in the US with the "CCS" quick-charging connection can only be filled up, but not supply electricity. Japanese cars with "Chademo" plugs, on the other hand, are designed for so-called bi-directional charging. The Korean company Hyundai announced in December that it would equip its new electric car platform E-GMP for bidirectional charging, too. This could help homeowners save energy in the long term and at the same time stabilize the electricity grid.

Further information on the topic is available at: www.empa.ch/web/energy-hub


Editor / Media Contact


Literature

B Svetozarevic, C Baumann, S Muntwiler, L Di Natale, P Heer, M Zeilinger; Data-driven MIMO control of room temperature and bidirectional EV charging using deep reinforcement learning: simulation and experiments; https://arxiv.org/abs/2103.01886


Follow us
 
High performance ceramics

Heavy charge against water germs

Removing pathogens from drinking water is especially difficult when the germs are too tiny to be caught by conventional filters. Researchers at Empa and Eawag are developing new materials and processes to free water from pathogenic microorganisms such as viruses. (Image: Sena Yüzbasi / Empa).
>>>>

Materials research

Voltage from the parquet

Researchers at Empa and ETH Zurich have made wood flexible and turned it into a micro-generator. When it is loaded, electrical voltage is generated. In this way, the wood can serve as a bio-sensor – or generate usable energy. (Image: istock).
>>>>

Biotechnology

The black gold of fungi

Empa researchers have succeeded in extracting the pigment melanin in large quantities from a fungus. The gigantic Armillaria fungus in the service of science is one of the largest and oldest living organisms in the world. Potential applications for the "black gold" range from wood preservatives to the construction of water filters and historic musical instruments. (Image: Empa).
>>>>

Quick Access

Read the latest Empa Quarterly!