Skip to content

dxaman/We_Are_Groot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detailed Description
Solution Roadmap
3 minute Demo Video

Green with Groot

Click here to visit the website.

A web application which facilitates selling of recyclable products and buying of environment friendly ones. It also enables its users to keep a tab on their monthly Carbon footprint using their electricity, LPG, and fossil fuel usage data.

Sign in and Authentication

App ID by IBM cloud has been used to authenticate a user. Once the authentication is succesful, the user lands on the homepage of our website.

Get rid of your waste!

If a user wants to sell recyclable waste, he/she can raise a pick-up request through this feature.

Buy Eco-friendly products

A shopping catalog for users to buy green products with discount coupons avaiblable at the expense of coins earned by the user through our carbon footprint-based monthly reward system.

Calculate carbon footprint:

To avail this feature, user has to link his/her electricity, LPG, Petrol/Diesel accounts with the website. Upon successful linkage, Carbon footprint will be calculated based on the following formula.

4 factors have been taken into account:

  • Units of electricity (in KWh)- elec_units
  • LPG consumed (in Kg)- LPG
  • Petrol consumed (in L)- petrol
  • Diesel consumed (in L)- diesel

Emmision factors for the above factors are extracted from trusted recources of -
Central Electricity Authority
Green House Gas Protocol

Emission_Factor_Electricity = 0.8 Kg/KWh;
Emission_Factor_Petrol = 2.296 Kg/L;
Emission_Factor_Deisel = 2.653 Kg/L;
Emission_Factor_LPG = 2.983 Kg/Kg;

Net Kg of CO2 can be calculated as the sum due to individual sources elec_cf + petrol_cf + diesel_cf + LPG_cf which when divided by 1000 will give the Tonnes of CO2.

Calculation of Coins:

We are following the policy which ensures that the more regularly a user reduces carbon footprint, the more rewards a he/she would receive. To maintain, a non overflowing, readable value of Total coins- the following factor has been used- 0.5 * streak * 100

This is multiplied to the difference of current and previous month's carbon footprint, and rounded of to the nearest integer-

add_to_balance = Math.round((past_cf - cf_basic) * scaling_factor);