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.