Turning Waste into Energy, Powered by Solar & Built on Windows


It’s no secret that the world is facing a trash crisis. From the “Great Pacific Garbage Patch” to overflowing landfills, 1.3 billion tons of waste are produced worldwide every year. The problem is particularly urgent for communities like the French Caribbean islands of Guadeloupe, where just 1630 square kilometers (about 630 square miles) of land support more than 400,000 residents. The result is a lot of human-generated waste, and nowhere to put it without harming the islands’ delicate tropical ecosystem.

A group of Windows Insiders decided to help Guadeloupe tackle this challenge–and ended up developing a breakthrough technology that could equip nations to better cope with the global waste crisis. Hamza El Baroudi (CEO) and Faical Said (Software and Automation Architect) are part of the team at Pour Et Par le Soleil (PEPS), a Moroccan company based in Marrakech. PEPS has partnered with the firm Guadeloupe NST to develop Solar Microwave Oven (SMO®), a waste processor the size of a shipping container that uses solar power to turn waste into electricity.

The PEPS team
Image: The PEPS team

“One SMO unit can recycle 27 tons of waste per day, and three units could produce enough electricity to power half of all the public lighting in Marrakech,” Hamza said.

The unit uses pyrolysis, a thermochemical process, to transform waste. SMO’s unique innovation is powering pyrolysis with 100% solar energy, which makes the system carbon neutral—and the first of its kind in the world, according to Hamza.

“We’re continuing R&D, and the goal is to not only be carbon neutral, but carbon negative,” Faical explained. In addition to producing electricity, SMO consumes CO2 as it fixes carbon from waste into solid states like biochar, a valuable agricultural fertilizer, and activated charcoal, which is in high demand for water purification and other industrial uses.

A key aspect of the technology involves automation and machine learning, which are essential for ensuring that the machine can process diverse kinds of waste, including plastics that are mixed with paper and aluminum in packaging materials. Because garbage tends to contain moisture, be irregular in size, and be composed of mixed materials, more than 150 sensors and actuators enable each SMO unit to cope with ever-changing conditions, all while harnessing solar energy to power complex mechanical and chemical processes.

As a computer engineer, Faical was familiar with automation, but he quickly understood that classical automation wouldn’t be enough for SMO. In the early phases of SMO’s development, a key challenge was waste jamming up in the pipes. It was difficult to pinpoint where the jam occurred and whether the machine should accelerate or decelerate the feed.

“I realized that the situation was analogous to what you find in gaming,” Faical said. “I researched deep learning and how it applies to gaming, and I found a good technique called ‘actor-critics,’ where there are, in fact, two models. One is the actor, and the other one is critiquing the actor. So, the actor will be doing the actions, and the critic will say, ‘No. This is not good. This is better.’ Then the actor changes, based on the critique. We created and trained these models on the Microsoft Cognitive Toolkit.”

Now that machine learning has been implemented in SMO and tested in real time, the team is exploring other applications for it as well.

“We look forward to working more with machine learning for the operation of big waste management stations, composed of perhaps hundreds of SMO units,” Hamza said. “It is also exciting to think about how machine learning could support other activities of the company, such as managing manufacturing lines.”

In addition to Microsoft Cognitive Toolkit, Windows plays a major role in SMO and the PEPS team. “An embedded Windows machine is the brain of SMO and is connected to a number of programmable logic controllers,” Faical said. “In our team, Windows is used in every device and all the time in a very natural way. Our team needed the best technology to organize every step of this project. We used all the power of the Windows, Office 365 with Teams, and Azure to make this dream a reality.”

“When it comes to R&D and innovation, sensitive information is a concern,” Hamza added. “One of our challenges was to find the right solutions and platforms to securely communicate data between our teams in Marrakech and Guadeloupe. So from the beginning we implemented Microsoft Azure Storage and essentially all the Microsoft solutions we could.”

The team’s hard work paid off when they were able to present SMO to the world at COP22 in 2016. The technology generated plenty of buzz, and the team is currently in talks with potential partners who can help scale up the technology and implement it in industrial settings.

“We’re very proud to be a part of such an exceptional project, and part of a great team of developers, engineers, and PhDs, all from Marrakech,” Faical said. “All of the skills we needed were right here, along with plenty of sunshine.”


Editor’s Note: The PEPS team was the winner of our most recent Insider in Action contest. Want your story featured on the Windows Insider website and beyond? Enter the current contest; you have until June 27, 2018.