● Live Workshop

The Cost of Carbon: Modeling Energy Economics & Emissions with Python

A Data-Driven Approach to Life Cycle Costing (LCC) and Carbon Footprint Analysis for the Energy Transition.

Registration Closes In
00Days
00Hours
00Mins
00Secs

About This Course

This workshop is all about answering one big question: Is green energy actually cheaper? We combine money skills with environmental science to find the truth. You will learn how to use Python code to compare a Solar Farm against a Gas Plant, looking at both the cash cost and the carbon cost. It is a practical guide to understanding the real price of the energy we use every day.

AIM

Our aim is to give you a powerful tool for your career. We want to move you away from guessing and towards calculating. You will learn to find the “sweet spot” where saving money and saving the planet happen at the same time. We aim to make “Life Cycle Assessment” (checking pollution from start to finish) easy to understand and easy to use.

Workshop Objectives

# The Plan:
# Step 1: Get Data
# Step 2: Write Code
# Step 3: See Results

Workshop Structure

Day 1: The Foundation – Money, Carbon, and Data

  • The Energy Trilemma: Understanding the trade-offs between Security, Equity, and Sustainability in energy projects.
  • Life Cycle Costing (LCC) Basics: Defining Capital Expenditure (CAPEX), Operating Expenditure (OPEX), and the “Time Value of Money.”
  • Life Cycle Assessment (LCA) Basics: Defining “Cradle-to-Grave” emissions, Carbon Intensity ($gCO_2e/kWh$), and Global Warming Potential (GWP).
  • The Python Stack for Energy: Why we use pandas (data), numpy (math), and matplotlib (charts) for energy analysis.

Hands On:

  • Environment Setup: Launching a Google Colab notebook (zero-install) and connecting it to Google Drive.

  • Library Imports: Writing the setup block: import pandas as pd, import numpy as np.

  • Data Ingestion:

    • Loading the energy_data.csv file (containing costs and emission factors for Solar and Gas).

    • Data Cleaning: Handling missing values, renaming columns, and setting the index to “Project Year (1-20).”

  • Initial Inspection: Using .head(), .describe(), and .info() to verify the data quality.

Day 2: The Engine – Modeling Cost and Emissions

  • Levelized Cost of Energy (LCOE): The industry-standard formula for comparing different generation technologies.

    $$LCOE = frac{sum text{Costs over Lifetime}}{sum text{Energy Produced over Lifetime}}$$

  • Discount Rates: How to calculate Net Present Value (NPV) to account for inflation and risk.

  • Carbon Accounting Scopes:

    • Scope 1: Direct emissions (burning gas).

    • Scope 3: Embodied emissions (manufacturing solar panels).

Hands On:

  • Defining Variables: Creating Python variables for Discount Rate ($r$), Fuel Price Growth, and Grid Degradation.

  • The LCOE Function: Writing a robust Python function calculate_lcoe(capex, opex, generation) that returns a single $/MWh value.

  • The Carbon Function: Writing a Python function calculate_emissions(fuel_usage, emission_factor) to sum total lifetime $CO_2$.

  • Running the Model: Applying these functions to the Solar and Gas datasets to get the baseline results (e.g., “Gas: $60/MWh, Solar: $45/MWh”).

Day 3: The Insight – Visualization & Sensitivity Analysis

  • Sensitivity Analysis: Why energy models are always “wrong” and how to test for volatility (e.g., “What if gas prices double?”).

  • The “Crossover Point”: Identifying the specific carbon price or fuel cost where one technology becomes cheaper than the other.

  • Data Storytelling: Best practices for visualizing complex trade-offs (Cost vs. Carbon) for non-technical stakeholders.

Hands On:

  • Visualizing Baselines:

    • Creating a Bar Chart comparing LCOE side-by-side using matplotlib.

    • Creating a Dual-Axis Chart: Left Axis = Cost ($), Right Axis = Carbon ($CO_2$).

  • Building the “What-If” Machine:

    • Writing a for loop to simulate a Carbon Tax rising from $0 to $100/ton.

    • Recalculating the Gas LCOE for each tax step.

  • Plotting Sensitivity:

    • Generating a Line Graph showing the Gas LCOE rising to meet/exceed Solar.

    • Annotating the graph to highlight the “Breakeven Carbon Price.”

Meet Your Mentor


Gurpreet Kaur

Gurpreet Kaur

Assistant Professor

Mrs. Gurpreet Kaur holds an MCA degree from Punjab Technical University (2010) and has over 7 years of IT industry experience as a Senior Software Developer in various companies. Her expertise lies in front-end technologies, data structures, and algorithms (DSA).

Who Should Enroll?

  • Students
  • Engineers
  • Finance People
  • Anyone who likes Data

Join Our Hall of Fame

Take your research to the next level with NanoSchool.

Publication

Get published in prestigious open-access journals.

Excellence

Become part of an elite research community.

Networking

Connect with global researchers and mentors.

Recognition

Worth ₹20,000 in academic value.

Ends in: 00d 00h

₹1799 – ₹4799

Student Feedback

★★★★★
AI and Ethics: Governance and Regulation

the workshop was very good, thank you very much

Sandra Wingender