Using ML to decrease in carbon footprint and energy consumption costs

Energy, PropTech

How we achieved a 15% decrease in carbon footprint and energy consumption costs by creating an optimization algorithm for charging EVs

Electric vehicles are helping us meet global goals on climate change. They’re eco-friendly and don’t emit greenhouse gasses. At least not directly.

They run on electricity, and many parts of the world still use fossil fuels to produce it. We also use energy to produce EVs and their batteries. One way to influence carbon offset is to optimize energy consumption during charging EVs.

Our client produces hardware that tracks energy consumption in households.

They connect their monitoring device to an electric grid inside the house. It tracks energy consumption from all electric devices, collects the data from solar panels and measures carbon footprint, while comparing it to country-wide measures.

They approached us with a request to create an algorithm that optimizes the consumption of electric energy and reduces the carbon footprint when charging EVs.


We had to optimize charging, make the entire process more eco-friendly and help households to cut electricity costs.

To do that, we had to analyze historical data from many households and real-time data of carbon emissions at a country level to create an algorithm.

However, it would take at least 10.000 real hours to train it properly.

How we solved the challenge

Research and simulation phase

We created a simulator by using historical data, simulated 10.000 hours and trained our algorithm. The simulator included the historical data from typical households and connected EVs.

This allowed us to train our algorithm in just a few days.

Implementation phase

We implemented the algorithm that we developed through the simulator in the cloud of our client. This time, we tested it by using real-time data from houses and connected EVs, as well as solar panels.

Technology: Python, AWS, MySQL, DynamoDB, ActiveMQ

15% decrease in carbon emissions and electricity costs

To test the efficiency of our algorithm, we used two baseline strategies to compare its results.

  • The first strategy was Charge Now – when the user plugs in the EV, it starts charging.
  • The second strategy was Charge At Midnight – whenever the user connects the EV, it starts charging at midnight.

The user could choose whether to optimize based on CO2 reduction or energy consumption.

Our optimization algorithm decreased energy costs and carbon footprint by 15% after 5.000 hours of use, compared to these two baseline strategies.

Don’t just take our word for it. Here’s what the client says.

“Their algorithm helped us create a greener, more sustainable and optimized future for households country-wide.”

Product Manager in our client’s company

Get in touch with SmartCat

Green technologies play a huge role in our company’s vision.

We’re SmartCat and we’re a brain-powered AI company with offices in the Netherlands, USA, and Serbia.

We keep 3 departments crucial for AI development under one roof – Data Science, Data Engineering, and DevOps and that makes a one-stop shop for AI development projects.

Interested in using AI to optimize consumption and reduce carbon footprint? Reach out to us today at

Let’s get started.

Tell us what you’re working on, we’ll answer right away.

Other success stories

See all stories→
Email sentiment analysis
User projects

Email sentiment analysis

Read post →
Churn of business customers
User projects

Churn of business customers

Read post →
FAQ chatbot with back-office
User projects

FAQ chatbot with back-office

Read post →
Search ranking for a large-scale job platform
User projects

Search ranking for a large-scale job platform

Read post →