Hottest Opportunities and Trends in Solar Business

Posted on Feb 5, 2018

The skills the authors demonstrated here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.


Do you like earning money? And, at the same time contribute to saving the planet? What if I prove to you Solar Business is the next booming field having plenty of opportunities in coming decades, with plus point of reducing our carbon footprint.

You'd argue...Really? But solar installations are so expensive! They are not even efficient! Why would anyone even install them?

Ah! Let me correct you, solar installations 'were' expensive and 'were' inefficient. It's like almost everyone right now is working on driving down the cost of solar power and increasing it's efficiency. This is what got me interested and I started doing some analysis in this field. Please read on to know more.


Since this was my first R project, excitedly I started looking for some datasets with solar installations and found an interesting dataset on Kaggle for Google Project Sunroof - an impressive concept where data from Google Earth is used to get the pictures of your house roof to analyze how much energy from sunlight you can harvest and further calculate the monetary benefits you can yield from solar installation. The dataset had most of the information I needed for my analysis. I also, downloaded data for Coal and Natural Gas consumption for electricity from U.S. Energy Information Administration, to see how much Coal and Natural Gas is actually being used by various states. Another missing piece in the puzzle was financial angle; for this I used Photo Voltaic Cell cost data from National Renewable Energy Laboratory.

I processed the datasets in R language using Dplyr, TidyR and StringR packages. I used Ggplot, Leaflet, Plotly and Googlevis libraries to plot the graphs. Finally, I created an application of all the graphs using R Shiny package.


1. Solar Energy Share in Electricity Generation:

According to U.S. Energy Information Administration, in 2016, about 65% of electricity generation was from fossil fuels (coal, natural gas, petroleum, and other gases), about 20% was from nuclear energy, and about 15% was from renewable energy sources, out of which only 0.9 % was from Solar Energy.

2. Coal and Natural Gas Consumption:

From the above graph we can see, largest sources of electricity are Coal and Natural Gas. I wanted to further analyze, how different states in US consume these 2 sources to generate electricity. I created an animated graph in Googlevis to show animation for all the years from 2001 through 2017. Below is the snapshot of the animation graph for the year 2001. Observe, Texas consumes largest coal and natural gas. This makes the animation look very steady for other states. The values for Texas are so high, that I may  have to normalize the values  to make other states visible on the map. May be I'll try logarithmic values.

3. Total Sunlight Received by US:

US is a large land mass and I always wondered, how much sunlight do we really get. I was curious to find out which states get most sunlight and how can we harness it. I plotted below graph using leaflet by adding shape file for counties. Notice the ranking on the right table clearly shows that states in the southern part of the country get most sunlight. Let's quickly compare data for Texas: It uses 95 M tonnes of coal annually on average. It receives about 117, 568, 363, 600, 000 KWH solar energy annually on average. If we actually harness this solar energy, we could save large amount of green house gas emissions caused by burning tonnes of coal. Also see this.

4. Solar Installation Cost Analysis:

I plotted below graph using Dygraph package. It shows how cost of Photo Voltaic Cells / watt has reduced in last 7 years.

US department of energy has an initiative - the SunShot Initiative, focussed entirely on driving down the cost of electricity generated by solar panels. And the average cost of solar energy generation has dropped 82% in the past decade. US Government is supporting the solar installation by giving federal investment tax credits (up to 30%), rebates and even forming laws such as 'Go Solar California'.  All these facts mean, more and more people would want to benefit from installing solar panels. Since not too many homes have solar panels installed yet, solar panel installation is going to be huge in coming time. According to an article in Forbes, there could be almost trillions dollars up for grabs. Exciting isn't it?

5. Reduce our Carbon Footprint:

Further, let's not forget the environmental perspective. Did you know, if we do not dramatically reduce the greenhouse gas emissions, the global sea level is likely to increase 'several meters over a timescale of 50 to 150 years', which could drown 50% of NYC under water. Oh No!

However, Solar Energy, unlike any other non renewable energy sources does not produce harmful pollutants in the air. And yes, it is high time we understand it's benefits and reduce our carbon footprint.

Below graph, plotted using leaflet shows us top 50 cities that can contribute to the carbon offset (radius of red circles showing the amount of carbon offset). Notice how most of the cities are in the southern part...hmm.

6. Solar Installation Opportunities:

So, with all this said, aren't we excited to plunge into harnessing the benefits? I know you'd say - Yes! But where do we start? I have plotted below graph in ggplot, to research the top 15 states with highest opportunities. I have scaled the 'Existing Installs' by 10 times to make it visible on the graph. This graph clearly shows there is plenty of opportunity to try our luck doing some business in this field.

Future Work

There’s so much more to research here. I really want to work to find how the solar power generation efficiency is improving, and so is the average capacity factor of utility-scale. I would also like to research on how much investment firms are keen in this field. After that, I want to use some R packages such InsolaR and SolaR to get some numerical data for some numerical conclusions.


Given above insights, I believe Solar Business is in for a vast transformation.The road ahead won’t be without its challenges, but we must keep the long-term in mind. For the long run we can positively say Solar Energy is way to go. With further detailed analysis on more data we can definitely solidify some numerical conclusions for both financial and environmental gains.

Click here to see my app and Github.

About Author

Related Articles

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI