Green-Software-Foundation / Green-Software-Foundation/hack

[Org Carbon Footprint As a Data Product] - Visualise and track Organisation Carbon Footprint so that org can take better decisions to maintain sustainable environment

Open
#70 23 comments 1 reaction 1 assignee Claimed by @ramgsuri View on GitHub
plug-in-project registered submitted
Dominant language
No language data
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Prize Category

Best Plugin

### Overview

Creating an organisation's carbon footprint as a data product involves collecting, analyzing, and presenting data related to the organisation's environmental impact with the help of Visualization & Dashboard. For MVP we have started with visualizations as an output in the form of html, hence named it as visualization-plugin.
The output of this plugin are visualizations in the form of html file which can present key metrics and insights related to the organization's carbon footprint.
Following steps are involved in building this Data Product :

1. Data Collection:

Gather data from various application sources within the organisation, such as energy consumption by CPUs, carbon emitted by Cloud Servers.
Uses mock-observations plugin to consume data as its input.

2. Data Processing and Analysis:

Clean and preprocess the collected data to ensure consistency and accuracy.
Calculate carbon emissions for each data source using established methodologies and emission factors.
Invokes cloud-metadata, teads-curve, watttime plugin and operational-carbon plugin to produce the operational carbon footprint for the servers.

3. Visualization and Reporting:

Developed interactive dashboards and visualizations to present key metrics and insights related to the organization's carbon footprint and produced html file as an output product from the plugin so that stakeholders can unlock insights from data.
Use charts, graphs, maps, and other visual elements to communicate complex data in a clear and intuitive manner.
Create customized reports and presentations for different stakeholders, such as executives, sustainability teams, investors, and regulators.

Use feedback loops to gather input from stakeholders and incorporate suggestions for improvement.

Impact :
By treating the organization's carbon footprint as a data product, we can provide stakeholders with valuable insights into environmental performance, drive positive change, and demonstrate a commitment to sustainability and corporate responsibility.

### Questions to be answered

_No response_

### Have you got a project team yet?

Yes and we are not recruiting

### Project team
**Team Name** : **Datamusers**
**Team Members** :
@ramgsuri
@Aditya-Amgaonkar
@ravinderj
@vanshkapoor

### Terms of Participation

- [X] I agree to the hackathon [Rules & Terms](https://github.com/Green-Software-Foundation/hack/wiki/Rules-and-Terms) and [Code of Conduct](https://github.com/Green-Software-Foundation/hack/wiki/Code-of-Conduct)

---
### Project Submission

### Summary
Visualisation Plugin seamlessly integrates into the pipeline to understand insights around carbon emissions and CPU consumption of an organization servers and returns a report with detailed comparison visualisations for the list of your servers over the time range. As of now, our report provides analysis on 2 Parameters i.e, CPU consumption and Carbon emissions by your servers.

Through these reports, stakeholders can analyse and track how much carbon and cpu consumption is happening on timely basis and can take further steps. These reports can act as a goto report to understand servers emissions and utilizations and stakeholders can take appropriate actions and business decisions

### Problem
It is very hard to take decision from raw data presented in tabular format. If business needs to unlock insights from data then visualisations can help the stakeholders to take appropriate business decision.
Hence with the help of visualization-pluginn now stakeholders can plug the plugin into the pipeline and using Impact Engine they can produce visualization as data product output which help them to unlock insights from data and track carbon emissions of an organisation so that they can take appropriate actions and business decisions accordingly.

### Application
Visualisation Plugin comprised of Input and Outputs. Plugin seamlessly integrates in the pipeline to understand insights around carbon emissions and CPU consumption of an organization’s server data and returns a report with detailed comparison visualisations for the list of your servers over the time range. As of now, our report provides analysis on 2 Parameters i.e, CPU consumption and Carbon emissions by your servers.

### Prize category
Best Plugin

Judging Criteria
Overall Impact 👩🏽‍⚖️
By Integrating this plugin into the pipeline now stakeholders can unlock insights from data and visualize the graphs and take appropriate actions to reduce carbon emissions.

Opportunity
Opportunity to unlock insights from data and present visuals as output so that stakeholders can take better decisions from organisation's standpoint.

Modularity
The Code is modular can easily be integrated with current existing IF official and un official plugins.
Modular Architecture and follows Single Responsibility Principle.
Devops integrated as CI/CD is enabled via Github actions.

### Video
https://youtu.be/pz5tNm1TRNE

### Artefacts
https://github.com/ramgsuri/visualization-plugin

### Usage
https://github.com/ramgsuri/visualization-plugin/blob/main/readme.md

### Process
We took the clone of IF repo and then leveraged the copy-plugin example to start the plugin and go through the codebase. This has helped us to start simple and integrate CI/CD in the repository in the beginning to keep the process devops enabled and Agile. We then started to run the standalone plugin and do an integration in the current framework, once E2E is done, then we started adding the code and functionality to plugin and enrich the config and inputs and started consuming in code.

### Inspiration
The Simplicity of the IF Framework and the sense of responsibility towards environment and sustainable living inspired us to contribute and take some time out of the daily work and chores and learn about Green Software Foundation Course and start contributing and start hands-on with IF codebase.

### Challenges
The challenge we faced when we started integrating the existing plugins and leverage the inputs of the previous pipelines and as we were producing visualizations as output so we wanted to make sure that our plugin can be used in the middle of the pipeline as well and not just in the end as the end output of our plugin is html visualizations.

### Accomplishments
We were able to integrate the plugin in the current IF codebase and were also able to leverage the current existing plugins into our work and integrate CI/CD into the development work as well.

### Learnings
Learn about Impact Framework, new terminologies around developing Green Software and making the environment sustainable for all.

### What's next?

To scale the solution and the amount of data we plan to leverage LLMs in our data and train the model so that solution can Incorporate storytelling techniques to highlight successes, challenges, and opportunities for reducing carbon emissions.
Continuous Monitoring and Improvement will help organisation to keep track of their OKRs towards Carbon Footprint
Set targets and goals for reducing carbon emissions and track progress over time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.