Cities are hubs for ideas, commerce, culture, science, productivity, social development and much more. At their best, cities have enabled people to advance socially and economically. With the number of people living within cities projected to rise to 5 billion people by 2030, it’s important that efficient urban planning and management practices are in place to deal with the challenges brought by urbanisation. In Global, We are inspired to reduce the number of deaths and the number of people affected and substantially decrease the direct economic losses relative to fossil fuel burning resulted by higher electric usage in city. We are inspired to reduce the adverse per capita environmental impact of cities, including by paying special attention to air quality in the city. We are inspired to tackle climate change, development that meets the needs of the present without compromising the ability of future generations to meet their own needs. while ensuring that no one is left behind. In Malaysia, We are inspired to solve the low adoption rate of solar panel in Malaysia despite being the third largest solar panel producer in the world. We are inspired to solve making the calculating of solar panel savings, earnings and financing easily. We are inspired to make it easy to connect the supply and demand to let them know how , where and what to get when installing solar panels.

What it does

Skysolar aim to solve climate change by making installing solar panel as easy as possible to everyone. Skysolar is a web app that detect roof from satellite images with machine learning then by using NASA solar irradiation data, calculate user's roof solar potential and forecast investment budget and payback for the life span of that solar panel if they opt for solar power.

Accomplishments that we're proud of

Skysolar is build with user experience in mind and it takes less than 5 minutes in select and purchase the right solar panel for user's house hence it drastically increase the solar panel adoption rate. It also aim to connect property owner directly to solar company thus eliminate the needs of sales agents. With this, Skysolar aim to make the market transparent and further drive the price down. Skysolar will be the catalyst in driving solar solution adoption in South East Asia and it has to be because the only possible solution for climate change today is SUSTAINABLE ENERGY.

How we built it

Machine Learning: We collected 105 images of roof top in Malaysia by taking screenshots of satellites images from Google Maps. Then, the rooftops in the images are manually labeled using LabelImg. The dataset is distributed into 88 images for training while 17 images for testing. We used YOLOv3 tiny to train the model. Around 3500 iterations are run and the overall loss is around 3 to 10. The bounding box labelled by YOLO will then be used to calculate the area of the roof top.

Front-end: We used bootstramp as a base to build our front-end and all the icons we generated to provide a simple and easy to use platform for our customers.

Back-end: At the backend using javascript we use formulas of electricity charged bills in Malaysia to calculate total amount of payback. The example of formulas used is: To convert kWh to RM -

Math.round(kWh * 0.218) in case if kWh < 201

For the final calculation in case

if kWh > 600 && kWh < 901 the formula - Math.round((200 * 0.218) + (100 * 0.334) + (300 * 0.516) + ((kWh - 600) * 0.546)) + (total_RM * SERVICE_CHARGE)

So the final calculations look as follows:

```if (tariff == 0) {

    if (kWh < 201) {

        total_RM = Math.round(kWh * 0.218);

    } else if (kWh > 200 && kWh < 301) {

        total_RM = Math.round((200 * 0.218) + ((kWh - 200) * 0.334));

    } else if (kWh > 300 && kWh < 601) {

        total_RM = Math.round((200 * 0.218) + (100 * 0.334) + ((kWh - 300) * 0.516));

    } else if (kWh > 600 && kWh < 901) {

        total_RM = Math.round((200 * 0.218) + (100 * 0.334) + (300 * 0.516) + ((kWh - 600) * 0.546));

        total_RM = total_RM + (total_RM * SERVICE_CHARGE);

    } else {

        total_RM = Math.round((200 * 0.218) + (100 * 0.334) + (300 * 0.516) + (300 * 0.546) + ((kWh - 900) * 0.571));

        total_RM = total_RM + (total_RM * SERVICE_CHARGE);


    console.log("kWh: " + kWh);

    console.log("RM " + total_RM);

    return total_RM;


*The rest of the calculations we used could be found in our custom.js file.

Challenges we ran into

The first challenge that we ran into is collecting the data. As there is no rooftop dataset in Malaysia available, we have to collect satellite image of rooftops in Malaysia by ourselves. It took quite some time to collect since some of the satellite images are not very clear. After we done collecting the images, we have to label the image by ourselves which also cause us quite some valuable times. Other than that, the second challenge that we encounter is the hardware requirement to train the machine learning model. Since all of the team member don’t have GPU on the laptops, training took a lot of time and did not produced satisfying result. Nevertheless, we are able to overcome the challenges together with our good teamwork.

What we learned

In this hackathon we learned that installing solar panel on our rooftops will result in better infrastructure, significantly reduced CO2 emission and more trees saved in result. We achieved this by acquiring the knowledge of how to calculate the electricity usage and how much solar panel will benefit our future customers as well as machine learning model using YOLO (You Only Look Once) to detect rooftops from sate-light images. We also learned how to set up an AWS infrastructure for our web app to run and build a backend that will automatically edit everything on our cloud. Last, but not least, we learned that installing solar panels on our rooftops will help us to live in a better world than we live in today.

What's next for Skysolar

We will make our first step by contacting solar panel companies. Present our work, show how it can benefit everyone and create a better environment for every stakeholder. We start with penetrating into Malaysia market firts. Once we build our track record, we will seek for more funding and expand it globally. In future, everyone will enjoy a fresher air and cleaner environment!

Share this project: