Green Cloud Auditor: Visualizing AI Energy and Carbon Footprints
Created bySANGEETHA M
15 views0 downloads

Green Cloud Auditor: Visualizing AI Energy and Carbon Footprints

College/UniversityComputer Science1 days
The Green Cloud Auditor project challenges university computer science students to quantify the hidden environmental impacts of AI development through advanced data visualization. Using Tableau, students transform complex hardware telemetry and regional energy grid data into interactive dashboards that calculate the carbon footprint (CO2e) of various machine learning models. By analyzing the trade-offs between model accuracy and energy consumption, participants identify the "efficiency frontier" to advocate for sustainable computing practices and ethical resource management.
Green ComputingData VisualizationArtificial IntelligenceCarbon FootprintTableauSustainable EngineeringCloud Optimization
Want to create your own PBL Recipe?Use our AI-powered tools to design engaging project-based learning experiences for your students.
📝

Inquiry Framework

Question Framework

Driving Question

The overarching question that guides the entire project.How can we design and implement a "Green Cloud Auditor" dashboard in Tableau to quantify the hidden environmental costs of AI development and empower stakeholders to balance model performance with global sustainability goals?

Essential Questions

Supporting questions that break down major concepts.
  • What are the primary hardware and software metrics (e.g., TDP, GPU/CPU utilization, PUE) required to accurately quantify the energy consumption of an AI training cycle?
  • How can we derive carbon dioxide equivalent (CO2e) values from raw energy data, and how does the regional carbon intensity of the power grid influence these calculations?
  • How can Tableau’s advanced visualization techniques (such as parameters, calculated fields, and interactive filtering) be used to transform raw telemetry data into actionable insights for cloud optimization?
  • What is the quantifiable trade-off between AI model accuracy/complexity and its environmental footprint, and at what point do the marginal gains in performance become unsustainable?
  • How can a real-time 'Green Auditor' dashboard be designed to influence the behavior of developers and stakeholders toward more sustainable cloud computing practices?
  • Who bears the ethical and financial responsibility for the 'hidden' carbon costs of cloud computing: the cloud provider, the software developer, or the end consumer?

Standards & Learning Goals

Learning Goals

By the end of this project, students will be able to:
  • Analyze and synthesize key hardware and software performance metrics (e.g., TDP, GPU/CPU utilization, and PUE) to quantify the total energy consumption of specific AI training cycles.
  • Apply mathematical formulas to calculate CO2 equivalent (CO2e) emissions based on raw energy data and regional grid carbon intensity.
  • Demonstrate advanced proficiency in Tableau by implementing calculated fields, parameters, and interactive dashboard filtering to visualize complex telemetry data.
  • Evaluate the ethical and technical trade-offs between AI model complexity (accuracy) and environmental impact to propose optimized, sustainable computing strategies.
  • Design and deliver a professional-grade visual auditing tool that effectively communicates sustainability insights to both technical developers and business stakeholders.

ABET Student Outcomes - Computer Science

ABET-CS-2
Primary
An ability to design, implement, and evaluate a computing-based solution to meet a given set of computing requirements in the context of the program’s discipline.Reason: The project requires students to design and implement a functional Tableau dashboard ('Green Cloud Auditor') that evaluates the specific computing requirement of sustainability.
ABET-CS-4
Primary
An ability to recognize professional responsibilities and make informed judgments in computing practice based on legal and ethical principles.Reason: The project centers on the ethical implications of AI development and the responsibility of the developer regarding carbon footprints and global sustainability goals.

ACM/IEEE CS2023 - Data Science

ACM-DS-VIS
Primary
Create and interpret data visualizations to identify patterns and communicate insights effectively.Reason: The core of this project is using Tableau to transform raw data into a dashboard that provides actionable insights for cloud optimization.

ACM/IEEE CS2023 - Society, Ethics, and the Profession

ACM-SEP-SUSTAIN
Secondary
Evaluate the environmental impact of computing systems and identify strategies for sustainable computing.Reason: This aligns directly with the project's goal of quantifying the hidden environmental costs of cloud computing and AI.

Tableau Certified Data Analyst Objective Domain

Tableau-CDA-2.2
Primary
Creating and Modifying Visualizations: Use parameters to allow user input; create calculated fields to manipulate data; and apply interactive filters.Reason: Directly maps to the teacher's requirement for Tableau mastery and the essential question regarding advanced visualization techniques.

Entry Events

Events that will be used to introduce the project to students

The Hidden Bill for GPT-4

Students are presented with a mock 'Environmental Invoice' detailing the precise liters of water and grams of carbon consumed during a single 100-token GPT-4 request. They are then challenged to use Tableau to project the cumulative impact of the university's entire student body using AI daily, forcing them to confront the invisible physical toll of virtual intelligence.
📚

Portfolio Activities

Portfolio Activities

These activities progressively build towards your learning goals, with each submission contributing to the student's final portfolio.
Activity 1

The Energy Explorer: Foundation and Data Ingestion

Before building the dashboard, students must understand the raw telemetry data that fuels it. In this activity, students will research and define key hardware metrics (Thermal Design Power, PUE, and GPU/CPU utilization) and prepare a dataset representing different AI training workloads (e.g., LLM vs. Computer Vision) across various cloud regions.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Research and define the following metrics in the context of cloud data centers: TDP (Thermal Design Power), PUE (Power Usage Effectiveness), and GPU/CPU duty cycles.
2. Source or simulate a dataset representing at least three types of AI model training cycles (e.g., a 1-billion parameter model vs. a 175-billion parameter model) including runtime in hours.
3. Use Tableau’s Data Source tab to perform initial data cleaning, ensuring data types are correct (e.g., date formats for logs, numerical values for power consumption).

Final Product

What students will submit as the final product of the activityA 'Data Dictionary and Preparation Log' containing a cleaned dataset (Excel or CSV) ready for Tableau ingestion, with documented definitions for every metric.

Alignment

How this activity aligns with the learning objectives & standardsThis activity aligns with ABET-CS-2 by requiring students to identify and evaluate the specific computing requirements (metrics) for the project. It also meets ACM-SEP-SUSTAIN by forcing students to evaluate the raw environmental impact of hardware.
Activity 2

The CO2e Engine: Building Dynamic Logic

Students will transform raw power data into environmental impact data using Tableau's logic. They will create 'Calculated Fields' that compute Energy (kWh) = (Power x Time x PUE) / 1000. They will then implement 'Parameters' to allow users to toggle between different regional carbon intensities (e.g., the high-carbon grid of West Virginia vs. the low-carbon grid of Norway).

Steps

Here is some basic scaffolding to help students complete the activity.
1. Create a calculated field named 'Total Energy (kWh)' using the formula that accounts for PUE overhead.
2. Create a Tableau Parameter named 'Select Region Grid Intensity' with a list of gCO2/kWh values for at least five global cloud regions.
3. Create a final calculated field 'Carbon Footprint (kgCO2e)' that multiplies your Energy calculation by the user-selected Parameter.

Final Product

What students will submit as the final product of the activityA Tableau 'Math-Model' sheet featuring functioning parameters that dynamically update a 'Total CO2e' figure based on selected regions.

Alignment

How this activity aligns with the learning objectives & standardsThis activity aligns with Tableau-CDA-2.2 (Creating Calculated Fields and Parameters) and ABET-CS-2 (Implementing a computing-based solution). It directly addresses the learning goal of applying mathematical formulas to derive CO2e values.
Activity 3

The Efficiency Frontier: Analyzing Trade-offs

Students will create a 'Scatter Plot of Diminishing Returns.' On one axis, they will plot Model Accuracy/Performance; on the other, they will plot Carbon Footprint. This activity focuses on visualizing the point where marginal gains in AI accuracy result in exponential increases in environmental cost, using interactive filters to compare different model architectures.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Develop a scatter plot comparing 'Model Accuracy (%)' against 'Carbon Footprint' for various training runs.
2. Apply interactive filters to allow users to drill down by 'Model Type' or 'Hardware Generation' (e.g., H100 vs. A100 GPUs).
3. Use 'Trend Lines' and 'Reference Lines' in Tableau to identify the 'sweet spot' where energy efficiency and model performance are balanced.

Final Product

What students will submit as the final product of the activityAn interactive Scatter Plot and Heat Map in Tableau that highlights the 'efficiency frontier' for AI development.

Alignment

How this activity aligns with the learning objectives & standardsThis activity aligns with ACM-DS-VIS (Identifying patterns) and Tableau-CDA-2.2 (Interactive filtering). It fulfills the learning goal of evaluating technical trade-offs between model complexity and footprint.
Activity 4

The Green Auditor Portal: Stakeholder Communication and Ethics

Students will assemble their previous sheets into a cohesive, professional 'Green Cloud Auditor' Dashboard. The focus here is on UI/UX for stakeholders. The dashboard must include a 'Call to Action' section and an 'Ethical Impact Statement' that interprets the data for a non-technical audience (business leaders/policymakers).

Steps

Here is some basic scaffolding to help students complete the activity.
1. Design a Tiled Dashboard layout that includes a high-level KPI card (Total Carbon), the trade-off scatter plot, and the regional comparison map.
2. Implement 'Dashboard Actions' (Filter/Highlight) so that selecting a region on the map updates all other charts.
3. Write an 'Ethical Reflection' tooltip or text box within the dashboard that addresses who should bear the cost of these emissions—the provider or the developer.

Final Product

What students will submit as the final product of the activityA fully interactive, published Tableau Dashboard with a 500-word executive summary explaining the ethical responsibilities of the developer based on the data findings.

Alignment

How this activity aligns with the learning objectives & standardsThis activity aligns with ABET-CS-4 (Professional responsibilities and ethics) and ACM-DS-VIS (Effective communication). It serves as the capstone for the learning goal of designing a professional-grade visual auditing tool.
🏆

Rubric & Reflection

Portfolio Rubric

Grading criteria for assessing the overall project portfolio

Green Cloud Auditor: Sustainability & Efficiency Rubric

Category 1

Technical Architecture & Data Logic

Evaluates the foundational data structure and the technical implementation of the environmental impact logic within Tableau.
Criterion 1

Metric Research and Data Preparation

Accurate definition and application of hardware and software metrics (TDP, PUE, GPU/CPU duty cycles) within the context of AI training.

Exemplary
4 Points

Demonstrates sophisticated mastery of data center metrics; provides highly accurate definitions and applies them innovatively to simulate complex AI training workloads. Data preparation log is meticulously documented with clear provenance and context.

Proficient
3 Points

Provides thorough and accurate definitions for all required metrics. Data source is cleaned appropriately in Tableau with correct data types and represents multiple training cycles as requested.

Developing
2 Points

Definitions for metrics are mostly accurate but may lack depth or specific context. Data cleaning in Tableau shows emerging skill but contains minor errors in data types or log documentation.

Beginning
1 Points

Definitions are missing, incorrect, or superficial. Dataset is poorly structured or lacks the necessary metrics to perform meaningful sustainability calculations.

Criterion 2

Dynamic Mathematical Modeling

Implementation of Tableau-specific logic including Parameters and Calculated Fields to derive Energy (kWh) and Carbon Footprint (kgCO2e).

Exemplary
4 Points

Calculated fields and parameters are flawlessly executed, allowing for seamless dynamic updates across multiple global regions. Logic accounts for complex variables and exhibits advanced Tableau proficiency (e.g., nested LOD expressions or advanced parameters).

Proficient
3 Points

Calculated fields for Energy and Carbon Footprint are accurate. Parameters for regional grid intensity are functional and correctly influence the dynamic math-model as required.

Developing
2 Points

Logic is implemented but contains mathematical errors or parameter inconsistencies. The dashboard updates partially but lacks the dynamic range required for global comparison.

Beginning
1 Points

Calculated fields are missing or produce incorrect results. Parameters are non-functional or do not impact the visualization, showing a lack of understanding of Tableau logic.

Category 2

Data Analytics & Insight Delivery

Assesses the ability to transform data into actionable insights through advanced visualization and pattern identification.
Criterion 1

Trade-off Analysis & Visualization

Visualization of the trade-off between AI model performance (accuracy) and environmental impact (carbon footprint) to identify the 'Efficiency Frontier'.

Exemplary
4 Points

Visualization provides profound insights into the 'Efficiency Frontier,' using trend lines and reference lines to pinpoint exact thresholds of diminishing returns. Scatter plot is highly intuitive and reveals complex correlations.

Proficient
3 Points

Effectively uses scatter plots and heat maps to compare accuracy against footprint. Clear use of interactive filters to differentiate between hardware types or model architectures.

Developing
2 Points

Basic scatter plot is present but lacks clear analytical markers (like trend lines). Identification of the 'efficiency frontier' is superficial or requires significant user effort to interpret.

Beginning
1 Points

Visualization is cluttered or fails to show the relationship between performance and sustainability. No evidence of trade-off analysis or interactive filtering.

Category 3

Professional Practice & Ethics

Evaluates the final presentation of findings and the student's ability to navigate the ethical complexities of the field.
Criterion 1

Dashboard Design & UI/UX

Integration of multiple worksheets into a professional, tiled dashboard with interactive actions and a focus on stakeholder communication.

Exemplary
4 Points

Dashboard design is of professional consulting quality. UI/UX is intuitive with seamless actions; layout guides the user through a narrative from high-level KPIs to granular ethical reflections.

Proficient
3 Points

Dashboard is well-organized and uses tiled layouts effectively. KPI cards, maps, and scatter plots are integrated with functioning dashboard actions for interactive exploration.

Developing
2 Points

Dashboard layout is functional but lacks aesthetic cohesion or clear user flow. Some dashboard actions (filtering/highlighting) may be missing or non-intuitive.

Beginning
1 Points

Dashboard is disorganized or incomplete. Worksheets are not effectively integrated, and there is little consideration for the needs of the stakeholder audience.

Criterion 2

Ethical Reflection & Professional Responsibility

Critical evaluation of the ethical and financial responsibility for the carbon costs of computing, supported by data findings.

Exemplary
4 Points

Ethical reflection provides a sophisticated, multi-perspective argument regarding carbon responsibility. Executive summary is compelling, data-backed, and offers clear, actionable sustainability strategies for stakeholders.

Proficient
3 Points

Clearly articulates an ethical position on who bears the responsibility for emissions. Executive summary effectively interprets the dashboard data for a non-technical audience.

Developing
2 Points

Ethical reflection is present but generic, lacking a direct connection to the data visualized. Executive summary provides basic descriptions rather than critical analysis.

Beginning
1 Points

Ethical statement is missing or fails to address the professional responsibilities outlined in the standards. Summary is incomplete or purely technical.

Reflection Prompts

End-of-project reflection questions to get students to think about their learning
Question 1

Reflecting on Activity 2 (The CO2e Engine), how did the implementation of Tableau parameters and calculated fields deepen your understanding of how regional energy grids impact the overall sustainability of a software project?

Text
Required
Question 2

After analyzing the 'hidden' carbon costs in your dashboard, who do you believe carries the primary ethical responsibility for mitigating the environmental impact of AI?

Multiple choice
Required
Options
The Cloud Provider (Infrastructure and PUE management)
The Software Developer (Model architecture and optimization)
The End Consumer (Demand for high-performance AI services)
Government/Regulatory Bodies (Policy and carbon taxation)
Question 3

To what extent did your 'Efficiency Frontier' analysis change your perspective on pursuing 'maximum accuracy' in AI models versus 'sustainable accuracy'?

Scale
Required
Question 4

In your role as a future computer scientist or data analyst, how will the insights gained from building the Green Cloud Auditor influence the way you select cloud regions or architect machine learning models in a professional setting?

Text
Required